﻿using BBICMS.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BBICMS.Model
{


    public partial class Position : AuditableEntity<int>
    {
        public Position()
        {
            this.Advertisements = new HashSet<Advertisement>();
        }

        //public int PositionId { get; set; }
        [Display(Name = "广告位")]
        public string Title { get; set; }

         [Display(Name = "描述")]
        public string Description { get; set; }
        [Display(Name = "排序")]
        public int Importance { get; set; }

        [Display(Name = "激活")]
        public bool Active { get; set; }
      

        public virtual ICollection<Advertisement> Advertisements { get; set; }
    }
}
